<?php

!defined('IN_APP') && exit('Access Denied');

class indexcontrol extends controlbase {


    function ondefault() {
		$query=array('endtime'=>array('$gte'=>$this->time) );
		$eventlist=$this('event')->get_list($query); 
		include template('index');
    }


    function onhelp() {
        include template('help');
    }

}

